package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字典参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_dict")
public class Dict implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 码表的key
     */
    @TableField(value = "dict_id")
    private Integer dictId;

    /**
     * 码表的值
     */
    @TableField(value = "dict_value")
    private String dictValue;

    /**
     * 上级id
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    private static final long serialVersionUID = 1L;
}